from GuiObject import *

class GuiImg(GuiObject):
	def __init__(self, x_, y_, filename_):
		GuiObject.__init__(self)
		self.image = pygame.image.load(filename_)
		self.x = x_
		self.y = y_
		self.w = self.image.get_width()
		self.h = self.image.get_height()
	def draw(self):
		self.screen.blit(self.image, ( self.getX(), self.getY(), self.w, self.h))
		
